
"""
    Copyright (C) 2009,2010  Jorge Alegre Vilches

    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.    
"""

# Constants
APPLICATION_MAIN = 'main'
DICT_LIST = 'DictList'
TUPLE_LIST = 'TupleList'
MAPPING_TYPE_PROC = 'MapTypeProc'
MAPPING_TYPE_DB = 'MapTypeDb'
WORK_RANDOM_MAX = 1000000

ACTION_REGISTER = 'reg'
ACTION_UNREGISTER = 'unreg'
ACTION_DELETE = 'del'
ACTION_SHOW = 'show'
TYPE_PROCESSOR = 'pro'
TYPE_DB_PROCESOR = 'db'

STATUS_UP = 200
STATUS_DOWN = 500

# Tables
TABLE_MAP_HOSTS = 'hosts.db'
TABLE_MAP_DB_HOSTS = 'db_hosts.db'
TABLE_COLLECT = 'map_collect.db'
